-- =========================================
-- Author: Jacob Gable
-- Created: 02.00.2009
-- Notes: Creation of BlogPostComment table.
-- 
-- 
-- =========================================

IF OBJECT_ID('dbo.BlogPostComment', 'U') IS NOT NULL
  DROP TABLE dbo.BlogPostComment
GO

CREATE TABLE dbo.BlogPostComment
(
	CommentId int identity(1,1) NOT NULL, 
	UserId uniqueidentifier 
			foreign key references aspnet_users(UserId) 
			NOT NULL, 
	[Value] nvarchar(1000) NOT NULL, 
	ts timestamp NULL,
    CONSTRAINT PK_Comment PRIMARY KEY (CommentId)
)
GO
